package com.xyh.service;

import com.xyh.entity.YxcUser;
import com.xyh.entity.YxcUsersYhq;
import com.xyh.entity.YxcYhq;

import java.util.List;

public interface YxcUsersYhqService {
    List<YxcUsersYhq> getAllYhqByPhone(String owner_telephone);

    int updateNumByPhoneAndBh(String owner_telephone, int yhq_bh);

    int deleteByPhoneAndBhAndNum(String owner_telephone, int yhq_bh);

    int updateCyNumByPhoneAndBh(String telephone, int yhq_bh, int num_add);

    int addOneUserYhq(String user_name,String telephone,int yhq_bh,String yhq_name, int cy_num);
}
